﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EFCoreLenarn
{
    public class Author
    {
        public int Id { get; set; }

        [StringLength(30)]
        public string? AuthorName { get; set; }

        [StringLength(300)]
        public string? Description { get; set; }
    }
}
